package cn.edu.scau.dormitory_management_system.service;

import cn.edu.scau.dormitory_management_system.entity.RoleEntity;
import cn.edu.scau.dormitory_management_system.entity.UserEntity;
import cn.edu.scau.dormitory_management_system.entity.dto.RoleDto;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author wanglingfu
 * @email 1006340605@qq.com
 * @date 2021-08-02 14:35:10
 */
public interface RoleService extends IService<RoleEntity> {
    public int insertRole(String roleName, String remark, UserEntity user);
    public int updateRole(int roleId,String roleName, String remark, UserEntity user);
    public List<RoleEntity> searchRole(String search);
}

